package com.igeekhome.ccs.biz.impl;

import com.igeekhome.ccs.biz.ICsCustomerBiz;
import com.igeekhome.ccs.entity.CsCustomer;
import com.igeekhome.ccs.mapper.CsCustomerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CsCustomerBizImpl implements ICsCustomerBiz {
    @Autowired
    CsCustomerMapper csCustomerMapper;
    @Override
    public int save(CsCustomer csc) {
        csCustomerMapper.save(csc);
        return 0;
    }

    @Override
    public List<Integer> relative(int csId) {
        return csCustomerMapper.relative(csId);
    }
}